#include <iostream>
using namespace std;

class H{

	int i;

public:
	H(){
		i = 5;
		i++;
	}
	
	/*
	H(const H& h){
		i = 10;
	}
	*/
	int getI(){
		return i;
	}
    

};

H f(H x){
	cout << x.getI() << endl;
	return x;
}

int main(){
	H h;
	cout << h.getI() << endl;
	H h1 = f(h);
	cout << h1.getI() << endl;
}
